using System;
using Gadgeteer.Modules;

namespace Gadgeteer.Interfaces.Network
{
    /// <summary>
    /// Represents the delegate that is used to raise the Gadgeteer.Modules.Module.NetworkModule.NetworkUp
    /// and Gadgeteer.Modules.Module.NetworkModule.NetworkDown events.
    /// </summary>
    /// <param name="sender">The network module that raised the event.</param>
    /// <param name="state">The state of the network.</param>
    public delegate void NetworkEventHandler(INetworkModule sender, Module.NetworkModule.NetworkState state);
}
